package com.ruoyi.agriculture.zs.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 问答对象 zs_question
 * 
 * @author zs
 * @date 2025-07-27
 */
public class ZsQuestion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 问题id */
    private Long zsQuestionId;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    /** 发布人id */
    @Excel(name = "发布人id")
    private Long userId;

    /** 发布人姓名 */
    @Excel(name = "发布人姓名")
    private String userName;

    /** 问题标题 */
    @Excel(name = "问题标题")
    private String zsQuestionTitle;

    /** 问题描述 */
    @Excel(name = "问题描述")
    private String zsQuestionDescribe;

    /** 问题分类 */
    @Excel(name = "问题分类")
    private String zsQuestionType;

    /** 问题图片 */
    @Excel(name = "问题图片")
    private String zsQuestionImg;

    /** 问题评论数量 */
    @Excel(name = "问题评论数量")
    private Long zsQuestionCommentNum;

    /** 问题点赞数量 */
    @Excel(name = "问题点赞数量")
    private Long zsQuestionLikeNum;

    public void setZsQuestionId(Long zsQuestionId) 
    {
        this.zsQuestionId = zsQuestionId;
    }

    public Long getZsQuestionId() 
    {
        return zsQuestionId;
    }

    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }

    public void setZsQuestionTitle(String zsQuestionTitle) 
    {
        this.zsQuestionTitle = zsQuestionTitle;
    }

    public String getZsQuestionTitle() 
    {
        return zsQuestionTitle;
    }

    public void setZsQuestionDescribe(String zsQuestionDescribe) 
    {
        this.zsQuestionDescribe = zsQuestionDescribe;
    }

    public String getZsQuestionDescribe() 
    {
        return zsQuestionDescribe;
    }

    public void setZsQuestionType(String zsQuestionType) 
    {
        this.zsQuestionType = zsQuestionType;
    }

    public String getZsQuestionType() 
    {
        return zsQuestionType;
    }

    public void setZsQuestionImg(String zsQuestionImg) 
    {
        this.zsQuestionImg = zsQuestionImg;
    }

    public String getZsQuestionImg() 
    {
        return zsQuestionImg;
    }

    public void setZsQuestionCommentNum(Long zsQuestionCommentNum) 
    {
        this.zsQuestionCommentNum = zsQuestionCommentNum;
    }

    public Long getZsQuestionCommentNum() 
    {
        return zsQuestionCommentNum;
    }

    public void setZsQuestionLikeNum(Long zsQuestionLikeNum) 
    {
        this.zsQuestionLikeNum = zsQuestionLikeNum;
    }

    public Long getZsQuestionLikeNum() 
    {
        return zsQuestionLikeNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("zsQuestionId", getZsQuestionId())
            .append("deptId", getDeptId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("zsQuestionTitle", getZsQuestionTitle())
            .append("zsQuestionDescribe", getZsQuestionDescribe())
            .append("zsQuestionType", getZsQuestionType())
            .append("zsQuestionImg", getZsQuestionImg())
            .append("zsQuestionCommentNum", getZsQuestionCommentNum())
            .append("zsQuestionLikeNum", getZsQuestionLikeNum())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
